USE [ERPSIADB]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		
-- Create date: 19/10/2010
-- Description:	SP Agrega un cuentas como un tipo de cuenta especial
-- =============================================
CREATE PROCEDURE SP_ELIMINAR_CUENTA_ESPECIAL
	-- Add the parameters for the stored procedure here
	@idTipoCuentaEsp TINYINT,
	@idCuenta INT
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	DELETE FROM [ERPSIADB].[dbo].[TipoCuentaEspecialCuenta]
      WHERE IdCuenta = @idCuenta AND IdTipoCuentaEspecial = @idTipoCuentaEsp
END
GO
